package com.lrkj.payfee.mapper;

import java.util.List;
import org.apache.ibatis.annotations.Param;
import com.lrkj.payfee.domain.AdvicePaymentDetail;

/**
 * 付款单明细Mapper接口
 *
 * @author yajun_ren
 * @date 2022-03-26
 */
public interface AdvicePaymentDetailMapper
{
    /**
     * 查询付款单明细
     *
     * @param id 付款单明细ID
     * @return 付款单明细
     */
    public AdvicePaymentDetail selectAdvicePaymentDetailById(String id);

    /**
     * 查询付款单明细列表
     *
     * @param advicePaymentDetail 付款单明细
     * @return 付款单明细集合
     */
    public List<AdvicePaymentDetail> selectAdvicePaymentDetailList(AdvicePaymentDetail advicePaymentDetail);

    /**
     * 新增付款单明细
     *
     * @param advicePaymentDetail 付款单明细
     * @return 结果
     */
    public int insertAdvicePaymentDetail(AdvicePaymentDetail advicePaymentDetail);

    /**
     * 修改付款单明细
     *
     * @param advicePaymentDetail 付款单明细
     * @return 结果
     */
    public int updateAdvicePaymentDetail(AdvicePaymentDetail advicePaymentDetail);

    /**
     * 删除付款单明细
     *
     * @param id 付款单明细ID
     * @return 结果
     */
    public int deleteAdvicePaymentDetailById(String id);

    /**
     * 批量删除付款单明细
     *
     * @param ids 需要删除的数据ID
     * @return 结果
     */
    public int deleteAdvicePaymentDetailByIds(String[] ids);

    /**
     * 批量新增付款单明细
     *
     * @param advicePaymentDetails
     * @return 结果
     */
    public int batchAddData(@Param("saveBeans") List<AdvicePaymentDetail> advicePaymentDetails);
}
